package com.qc.entity.message;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ChatListEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2106331930488317823L;
	
	
	protected long targetId;      // 聊天对象id。 一对一私聊:对方用户id;
	protected int unReadNum;            // 未读消息数量
	protected String content;     // 最后一条未读消息内容
	protected String sendTime;    // 最后一条未读消息发送(创建)时间
	protected int contentType;    // 消息类型 0，文本消息  1，图片消息
	protected String nickname; // 昵称
	protected int category;	// 用户类型 1/BOSS  2/秘书 3/客服
	protected String avatar;		// 头像
	
	protected List<ChatMessageEntity> msgList = new ArrayList<ChatMessageEntity>(); 	// 单聊消息列表

	public long getTargetId() {
		return targetId;
	}

	public void setTargetId(long targetId) {
		this.targetId = targetId;
	}

	public int getUnReadNum() {
		return unReadNum;
	}

	public void setUnReadNum(int unReadNum) {
		this.unReadNum = unReadNum;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public int getContentType() {
		return contentType;
	}

	public void setContentType(int contentType) {
		this.contentType = contentType;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public List<ChatMessageEntity> getMsgList() {
		return msgList;
	}

	public void setMsgList(List<ChatMessageEntity> msgList) {
		this.msgList = msgList;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getCategory() {
		return category;
	}

	public void setCategory(int category) {
		this.category = category;
	}

	
	
}
